var WarehouseInoutTemplate = function () {
  var template = /* html */ `
  <div class="warehouse-inout-template common-template-setting" :class="{'is-dragging':hasDrag}" v-loading.fullscreen.lock="loading">
    <div v-if="customTemplate" class="has-custom-template">
      <div class="no-data">
        <div>已经有自定义的出库单模板，不能再设置该通用模板</div>
      </div>
    </div>
    <order-template-setting v-else-if="templateConfig!==null" clause-title="备注" :config="templateConfig" :type="type" @save-click="saveTemplate">
      <template slot="table">
        <div class="setting-form-item clearfix">
          <label style="float:none;width:100%;text-align:left;">出库单列设置</label>
          <div style="float:none">
            <table-column-setting :setting="templateConfig" column-field="warehouseInoutOrderColumns" :column-dropdown="warehouseInoutOrderColumnDropdown">
            </table-column-setting>
          </div>
        </div>
        <div class="setting-form-item clearfix">
          <label style="float:none;width:100%;text-align:left;">成品仓出库单列设置</label>
          <div style="float:none">
            <table-column-setting :setting="templateConfig" column-field="productWarehouseInoutOrderColumns" :column-dropdown="productWarehouseInoutOrderColumnDropdown">
            </table-column-setting>
          </div>
        </div>
      </template>
    </order-template-setting>
  </div>
  `;

  return {
    data: function () {
      return {};
    },

    mixins: [templateSettingMixin('warehouseInoutOrder')],

    template: template
  };
}();